<%-- 
    Document   : opnemenBedragCheck
    Created on : 11-apr-2009, 20:39:40
    Author     : frankkie
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">

<html>
  <head>
    <link rel="stylesheet" type="text/css" href="bank.css" />
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>JSP Page</title>
    <%
          // Dit gaat controleren of er een Correct bedrag is ingevuld.
          if (pin.Bedrag.bedragCheckStatus(request.getParameter("bedrag")) == 'J') {
//GOED
            response.sendRedirect("opnemenWilBon.jsp?bedrag=" + request.getParameter("bedrag"));
          } else {
//FOUT
            response.sendRedirect("opnemenAnder.jsp?a=" + pin.Bedrag.bedragCheckStatus(request.getParameter("bedrag")));
          }
    %>
  </head>
  <body>
    <h1>Hello World!</h1>
  </body>
</html>
